<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>发布公告</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="<%=basePath%>assets/css/dpl-min.css" rel="stylesheet" type="text/css" />
	<link href="<%=basePath%>assets/css/bui-min.css" rel="stylesheet" type="text/css" />
	<link href="<%=basePath%>assets/css/page-min.css" rel="stylesheet" type="text/css" />
	<style type="text/css">
		body {
			padding: 30px;
		}
		
		.panel .panel-header {
			background: #DFF0D8;
			letter-spacing: 5px;
		}
		
		.panel .panel-body {
			margin-left: 30%;
		}
	</style>
	<script type="text/javascript" src="<%=basePath%>assets/js/jquery-1.8.1.min.js"></script>
	<script type="text/javascript" src="<%=basePath%>assets/js/bui-min.js"></script>
	<script type="text/javascript" src="<%=basePath%>assets/js/config-min.js"></script>
</head>
<body>
	<div class="panel">
		<div class="panel-header">
			<h1>修改密码</h1>
		</div>
		<div class="panel-body">
			<div class="doc-content">
				<form action="<%=basePath%>editPWD" method="post"
					class="form-horizontal" id="J_Form">
					<div class="row show-grid"
						style="display: inline-block; height: 200px; margin-top: 50px;">
						<div class="">
							<div class="control-group">
								<label class="control-label">旧密码：</label>
								<div class="controls">
									<input name="oldpw" data-rules="{required:true,minlength:3}"
										type="password">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">新密码：</label>
								<div class="controls">
									<input id="password1" name="newpw"
										data-rules="{required:true,minlength:3}" type="password">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">重新输入：</label>
								<div class="controls">
									<input name="repw"
										data-rules="{required:true,minlength:3,equalTo:'#password1'}"
										type="password">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" style="color: red;"> <s:property
										value="tip" /> <s:fielderror />
								</label>
							</div>
						</div>
						<button type="submit" class="button button-info"
							style="display: block; margin: 20px 0 0 222px">修改</button>
				</form>
			</div>
		</div>
	</div>
	<script type="text/javascript">
		BUI.use('bui/form', function(Form) {
			new Form.Form({
				srcNode : '#J_Form'
			}).render();
		});
	</script>

</body>
</html>